import api from '../api';

const getListAsync = async (data) => {
    return await api.postWithToken({
        command: 'I_Accounting_GetAccountings',
        data
    });
};

const getListItemsAsync = async (data) => {
    return await api.postWithToken({
        command: 'I_Accounting_GetAccountingItems',
        data
    });
};


export default {
    getListAsync,
    getListItemsAsync
}